﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace SmartPlant.Model.DbContext
{
    /// <summary>
    ///
    ///</summary>
    [SugarTable("SPEC_FORM")]
    public class SpecForm
    {
        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_FORM_ID", IsPrimaryKey = true)]
        public decimal SpecFormId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_NUM")]
        public decimal ChgNum { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_STATUS")]
        public string ChgStatus { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_DATE")]
        public DateTime? ChgDate { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "USER_NAME")]
        public string UserName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_FORM_CNUM")]
        public string SpecFormCnum { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_NAME")]
        public string SpecName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_DESC")]
        public string SpecDesc { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_FORM_REF")]
        public string SpecFormRef { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_FORM_TAB_REF")]
        public string SpecFormTabRef { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_FORM_TYPE_FLG")]
        public string SpecFormTypeFlg { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_FORM_HOME")]
        public string SpecFormHome { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PROC_FUNC_ID")]
        public decimal? ProcFuncId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "REVISION_STYLE_ID")]
        public decimal RevisionStyleId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "REVISION_STYLE_X")]
        public decimal? RevisionStyleX { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "REVISION_STYLE_Y")]
        public decimal? RevisionStyleY { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "REVISION_STYLE_BAND")]
        public string RevisionStyleBand { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PROJ_ID")]
        public decimal ProjId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SITE_ID")]
        public decimal SiteId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "FORM_REV")]
        public decimal? FormRev { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_ENTITY_TYPE_ID")]
        public decimal? SpecEntityTypeId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "OLD_REVISION_STYLE_ID")]
        public decimal OldRevisionStyleId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PRESENTATION_STYLE_ID")]
        public decimal PresentationStyleId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PROC_FUNC_MIXED")]
        public decimal ProcFuncMixed { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "LIST_PROC_FUNC")]
        public string ListProcFunc { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "LAYOUT_TYPE")]
        public string LayoutType { get; set; }
    }
}
